package com.lcm.weam.service.algo;

import com.lcm.weam.entity.algo.GMArchive;
import com.lcm.weam.entity.algo.GMResult;
import com.lcm.weam.entity.algo.MarkovArchive;
import com.lcm.weam.entity.algo.MarkovResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface PredictService {
    GMResult GM(MultipartFile file, int t) throws IOException;

    GMResult GM(double[] arr, int t);

    MarkovResult Markov(MultipartFile file,int n, int t) throws IOException;

    MarkovResult Markov(double[] arr,int n, int t);

    void gmArchive(GMArchive gmArchive);

    List<GMArchive> gmListAll();

    void gmDelete(String id);

    void markovArchive(MarkovArchive markovArchive);

    List<MarkovArchive> markovListAll();

    void markovDelete(String id);
}
